package com.g13.virtualpethospital.entity.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Title: option
 * @Author yyj1205
 * @Package com.g13.virtualpethospital.entity.base
 * @Date 24/3/2024 19:45
 * @description: 问题的选项
 */
@ApiModel(description = ": 问题的选项")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Option {
    /**
     * 选项的标号，如ABC
     */
    @ApiModelProperty(value = "选项的标号，如ABC", position = 1)
    String name;
    /**
     * 选项的内容
     */
    @ApiModelProperty(value = "选项的内容", position = 2)
    String text;
}
